<?php
namespace app\admin\service;
/**
 * 菜单接口
 */
class MenuService{

    /**
     * 获取后台
     */
    public function getAdminMenu(){
        return array(
            array(
                'name' => '论坛设置',
                'icon' => 'cog',
                'url' => url('admin/Setting/index'),
                'order' => 0,
            ),
            array(
                'name' => '板块管理',
                'icon' => 'sitemap',
                'url' => url('admin/Plate/index'),
                'order' => 1,
            ),
            array(
                'name' => '帖子管理',
                'icon' => 'th-list',
                'url' => url('admin/Thread/index'),
                'order' => 2,
            ),
            array(
                'name' => '用户管理',
                'icon' => 'user',
                'url' => url('admin/User/index'),
                'order' => 3,
            ),
            array(
                'name' => '用户组管理',
                'icon' => 'users',
                'url' => url('admin/UserGroup/index'),
                'order' => 4,
            ),
            array(
                'name' => '页面管理',
                'icon' => 'file-o',
                'url' => url('admin/Page/index'),
                'order' => 5,
            ),
            array(
                'name' => '边栏管理',
                'icon' => 'cubes',
                'url' => url('admin/Sidebar/index'),
                'order' => 6,
            ),
            array(
                'name' => '菜单管理',
                'icon' => 'th-large',
                'url' => url('admin/Menu/index'),
                'order' => 7,
            ),
            array(
                'name' => '附件管理',
                'icon' => 'file',
                'url' => url('admin/File/index'),
                'order' => 8,
            ),
            array(
                'name' => '积分管理',
                'icon' => 'database',
                'url' => url('admin/Integral/index'),
                'order' => 9,
            ),
        );
    }
	


}
